﻿#region 文件信息

// FileName: SoCafeShop/Sohobloo.SoAuth.Service/IUserService.cs
// Author: Sohobloo
// CreateTime: 2013/07/01 11:57
// UpdateTime: 2013/07/01 12:06

#endregion

#region 引用

using System;
using System.Collections.Generic;
using Sohobloo.SoAuth.Entity;
using Sohobloo.SoMcCoffee.Public.OperationResult;

#endregion

namespace Sohobloo.SoAuth.Service
{
    public interface IUserService
    {
        #region 方法

        OperationResult CreateUser(SoAuthUser user);

        OperationResult DeleteUser(Guid userId);

        OperationResult UpdateUser(SoAuthUser user);

        ICollection<SoAuthUser> GetUserList();

        SoAuthUser GetUser(Guid userId);

        IList<string> QueryUserNameByKeyword(string keyword);

        #endregion 方法
    }
}